import { defineView } from "@/routers/tools.mjs";

/**
 * @type {DefineView}
 */
const seView = defineView({
  template: /* HTML */ html`
    <div id="simple" ng-controller="ServiceExampleCtrl as $ctrl">
      <p>
        Let's try this simple notify service, injected into the controller...
      </p>
      <input ng-init="message='bii~>'" ng-model="message" />
      <button ng-click="$ctrl.callNotify(message);">NOTIFY</button>
      <p>(you have to click 3 times to see an alert)</p>
    </div>
  `,
});

export default seView;
